package com.yz.jdd.network.response;

import java.util.List;

/**
 * Created by cc on 2019.01.28
 *  首页订单列表
 */

public class Response_OrderList {


    /**
     * code : 1
     * msg : default success
     * resultObject : {"nextPage":0,"pageData":[{"count":"6","date":"2019-01-29","orderList":[{"orderNo":"1901294621376194","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 13:59"},{"orderNo":"1901294621355133","orderStatus":"1","orderType":"1","payStatus":"1","payType":"1","receiveMoney":"1.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 11:11"},{"orderNo":"1901294621351928","orderStatus":"1","orderType":"1","payStatus":"1","payType":"1","receiveMoney":"1.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 11:11"},{"orderNo":"1901294621349689","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.01","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 10:26"},{"orderNo":"1901294621348671","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.01","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 10:25"},{"orderNo":"1901294621352212","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.01","shopId":"20180927200132394481","shopName":"云纵川妹子北京(万霖店)","tradeDate":"2019-01-29 10:12"}],"payAmt":"null"},{"count":"5","date":"2019-01-28","orderList":[{"orderNo":"1901284621312334","orderStatus":"12","orderType":"1","payStatus":"12","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 17:24"},{"orderNo":"1901284621301689","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 15:49"},{"orderNo":"1901284621298488","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.01","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 14:33"},{"orderNo":"1901284621295516","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 14:05"},{"orderNo":"1901284621298129","orderStatus":"13","orderType":"1","payStatus":"13","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 14:04"}],"payAmt":"null"}],"totalCount":11}
     * success : true
     */

    private String code;
    private String msg;
    private ResultObjectBean resultObject;
    private boolean success;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultObjectBean getResultObject() {
        return resultObject;
    }

    public void setResultObject(ResultObjectBean resultObject) {
        this.resultObject = resultObject;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class ResultObjectBean {
        /**
         * nextPage : 0.0
         * pageData : [{"count":"6","date":"2019-01-29","orderList":[{"orderNo":"1901294621376194","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 13:59"},{"orderNo":"1901294621355133","orderStatus":"1","orderType":"1","payStatus":"1","payType":"1","receiveMoney":"1.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 11:11"},{"orderNo":"1901294621351928","orderStatus":"1","orderType":"1","payStatus":"1","payType":"1","receiveMoney":"1.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 11:11"},{"orderNo":"1901294621349689","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.01","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 10:26"},{"orderNo":"1901294621348671","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.01","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-29 10:25"},{"orderNo":"1901294621352212","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.01","shopId":"20180927200132394481","shopName":"云纵川妹子北京(万霖店)","tradeDate":"2019-01-29 10:12"}],"payAmt":"null"},{"count":"5","date":"2019-01-28","orderList":[{"orderNo":"1901284621312334","orderStatus":"12","orderType":"1","payStatus":"12","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 17:24"},{"orderNo":"1901284621301689","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 15:49"},{"orderNo":"1901284621298488","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.01","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 14:33"},{"orderNo":"1901284621295516","orderStatus":"1","orderType":"1","payStatus":"1","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 14:05"},{"orderNo":"1901284621298129","orderStatus":"13","orderType":"1","payStatus":"13","payType":"2","receiveMoney":"0.00","shopId":"2017022700077000000026808340","shopName":"云纵测试门店(丁家屯店)","tradeDate":"2019-01-28 14:04"}],"payAmt":"null"}]
         * totalCount : 11.0
         */

        private int nextPage;
        private int totalCount;
        private List<PageDataBean> pageData;

        public double getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public double getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public List<PageDataBean> getPageData() {
            return pageData;
        }

        public void setPageData(List<PageDataBean> pageData) {
            this.pageData = pageData;
        }

        public static class PageDataBean {


            private int count;
            private String date;
            private String payAmt;
            private List<OrderListBean> orders;

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getPayAmt() {
                return payAmt;
            }

            public void setPayAmt(String payAmt) {
                this.payAmt = payAmt;
            }

            public List<OrderListBean> getOrderList() {
                return orders;
            }

            public void setOrderList(List<OrderListBean> orders) {
                this.orders = orders;
            }

            public static class OrderListBean {

                private String orderId;
                private int orderStatus;
                private String orderType;
                private int payStatus;
                private int payType;
                private String payAmount;
                private String shopId;
                private String shopName;
                private String tradeDate;

                public String getOrderId() {
                    return orderId;
                }

                public void setOrderId(String orderId) {
                    this.orderId = orderId;
                }

                public String getPayAmount() {
                    return payAmount;
                }

                public void setPayAmount(String payAmount) {
                    this.payAmount = payAmount;
                }

                public int getOrderStatus() {
                    return orderStatus;
                }

                public void setOrderStatus(int orderStatus) {
                    this.orderStatus = orderStatus;
                }

                public String getOrderType() {
                    return orderType;
                }

                public void setOrderType(String orderType) {
                    this.orderType = orderType;
                }

                public int getPayStatus() {
                    return payStatus;
                }

                public void setPayStatus(int payStatus) {
                    this.payStatus = payStatus;
                }

                public int getPayType() {
                    return payType;
                }

                public void setPayType(int payType) {
                    this.payType = payType;
                }

                public String getReceiveMoney() {
                    return payAmount;
                }

                public void setReceiveMoney(String receiveMoney) {
                    this.payAmount = receiveMoney;
                }

                public String getShopId() {
                    return shopId;
                }

                public void setShopId(String shopId) {
                    this.shopId = shopId;
                }

                public String getShopName() {
                    return shopName;
                }

                public void setShopName(String shopName) {
                    this.shopName = shopName;
                }

                public String getTradeDate() {
                    return tradeDate;
                }

                public void setTradeDate(String tradeDate) {
                    this.tradeDate = tradeDate;
                }
            }
        }
    }
}
